package com.shopnight.vo;

import com.shopnight.socketVo.MessageVo;
import lombok.Data;

import java.util.Date;

@Data
public class PostCommentVo {

    private Integer id;

    /**
     * 回复的父级id
     */
    private Integer fatherId;

    /**
     * 评论内容
     */
    private String message;

    /**
     * 语音持续毫秒数
     */
    private Integer duration;

    /**
     * 消息类型1->文字 2->图片 3->视频 4->声音
     */
    private Integer type;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 用户信息
     */
    private Integer userId;
    private String userNick;
    private String avatar;


    private fatherMessageVo fatherMessageVo;

    @Data
    public static class fatherMessageVo{
        private Integer id;
        private Integer userId;
        private String userNick;
        private String message;
        private Integer type;
        private Long duration;
    }



}
